package com.groupbuying.redpacket.domain;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;


/**
 * 红包信息
 * 
 * @author vincnetxin
 * @email vincentxin@aliyun.com
 * @date 2019-11-12 14:55:04
 * @des
 */
public class RedPacketListDO implements Serializable {
	private static final long serialVersionUID = 1L;
	

	/**
	 * id
	 */
	private Long id;

	/**
	 * 红包规则id
	 */
	private String ruleId;

	/**
	 * 红包类型名称
	 */
	private String type;

	/**
	 * 红包任务id
	 */
	private String taskId;

	/**
	 * 活动主题
	 */
	private String theme;

	/**
	 * 活动轮次
	 */
	private Integer round;

	/**
	 * 红包金额
	 */
	private BigDecimal redPacketAmount;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 删除标志:未删除-UNDEL-1,删除-DEL-0
	 */
	private Integer isDelete;

	/**
	 * 用户id
	 */
	private String userId;

	/**
	 * 用户名称
	 */
	private String userName;

	/**
	 * 来自那个平台
	 */
	private String platFrom;

	/**
	 * 中奖用户手机号
	 */
	private String phone;

	/**
	 * 中奖时间
	 */
	private Date winningTime;

	/**
	 * 红包等级标志 有等级 1  普通红包 0
	 **/
	private String redPacketLevel;

	public String getRedPacketLevel() {
		return redPacketLevel;
	}

	public void setRedPacketLevel(String redPacketLevel) {
		this.redPacketLevel = redPacketLevel;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：红包规则id
	 */
	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}
	/**
	 * 获取：红包规则id
	 */
	public String getRuleId() {
		return ruleId;
	}
	/**
	 * 设置：红包类型名称
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * 获取：红包类型名称
	 */
	public String getType() {
		return type;
	}
	/**
	 * 设置：红包任务id
	 */
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	/**
	 * 获取：红包任务id
	 */
	public String getTaskId() {
		return taskId;
	}
	/**
	 * 设置：活动主题
	 */
	public void setTheme(String theme) {
		this.theme = theme;
	}
	/**
	 * 获取：活动主题
	 */
	public String getTheme() {
		return theme;
	}
	/**
	 * 设置：活动轮次
	 */
	public void setRound(Integer round) {
		this.round = round;
	}
	/**
	 * 获取：活动轮次
	 */
	public Integer getRound() {
		return round;
	}
	/**
	 * 设置：红包金额
	 */
	public void setRedPacketAmount(BigDecimal redPacketAmount) {
		this.redPacketAmount = redPacketAmount;
	}
	/**
	 * 获取：红包金额
	 */
	public BigDecimal getRedPacketAmount() {
		return redPacketAmount;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * 设置：删除标志:未删除-UNDEL-1,删除-DEL-0
	 * @param isDelete
	 */
	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}
	/**
	 * 获取：删除标志:未删除-UNDEL-1,删除-DEL-0
	 */
	public Integer getIsDelete() {
		return isDelete;
	}
	/**
	 * 设置：用户id
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户id
	 */
	public String getUserId() {
		return userId;
	}
	/**
	 * 设置：用户名称
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 获取：用户名称
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * 设置：来自那个平台
	 */
	public void setPlatFrom(String platFrom) {
		this.platFrom = platFrom;
	}
	/**
	 * 获取：来自那个平台
	 */
	public String getPlatFrom() {
		return platFrom;
	}
	/**
	 * 设置：中奖用户手机号
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	/**
	 * 获取：中奖用户手机号
	 */
	public String getPhone() {
		return phone;
	}
	/**
	 * 设置：中奖时间
	 */
	public void setWinningTime(Date winningTime) {
		this.winningTime = winningTime;
	}
	/**
	 * 获取：中奖时间
	 */
	public Date getWinningTime() {
		return winningTime;
	}

	@Override
	public String toString() {
		return "RedPacketListDO{" +
				"id=" + id +
				", ruleId='" + ruleId + '\'' +
				", type='" + type + '\'' +
				", taskId='" + taskId + '\'' +
				", theme='" + theme + '\'' +
				", round=" + round +
				", redPacketAmount=" + redPacketAmount +
				", createTime=" + createTime +
				", updateTime=" + updateTime +
				", isDelete=" + isDelete +
				", userId='" + userId + '\'' +
				", userName='" + userName + '\'' +
				", platFrom='" + platFrom + '\'' +
				", phone='" + phone + '\'' +
				", winningTime=" + winningTime +
				", redPacketLevel='" + redPacketLevel + '\'' +
				'}';
	}
}
